<!DOCTYPE html>
<html>
<head>
    <meta charset="UTF-8">
    <!-- import CSS -->
    <link rel="stylesheet" href="https://cdn.staticfile.org/element-ui/2.15.9/theme-chalk/index.css">
    <style>
        .center {
            width: 1200px;
            margin: 0 auto;
        }

        #footer_center p {
            margin: 0;
        }

        #footer_center h3 {
            color: white;
        }

        body {
            background-color: rgb(241, 242, 243);
        }

        .el-header {
            background-color: white;
        }
    </style>
</head>
<body>
<div id="app">
    <el-container>
        <el-header height="80px">
            <div class="center">
                <el-row gutter="20">
                    <el-col span="6">
                        <img src="../imgs/logo/logo.png" height="65" width="1000"/></el-col>
                    <el-col span="16">
                        <el-input style="margin-top: 15px" placeholder="请输入搜索的关键字">
                            <el-button slot="append" icon="el-icon-search"></el-button>
                        </el-input>
                    </el-col>
                    <el-col span="2">
                        <el-popover
                                placement="top-start"
                                title="欢迎来到Sheep!"
                                width="200"
                                trigger="hover">
                            <div slot="reference">
                                <i class="el-icon-user"
                                   style="font-size: 30px;position: relative;top: 20px"></i>
                            </div>
                            <el-button type="info">注册</el-button>
                            <el-button style="background-color: orange">登录</el-button>
                        </el-popover>
                    </el-col>

                </el-row>
            </div>
        </el-header>
        <el-main class="center">
            <el-carousel height="720px">
                <el-carousel-item>
                    <img src="../imgs/健身房/健身房.jpg" height="100%" width="100%"/></el-carousel-item>
                <el-carousel-item>

                    <img src="../imgs/健身房/健身房2.jpg" height="100%" width="100%"/></el-carousel-item>
                <el-carousel-item>

                    <img src="../imgs/健身房/健身房3.jpg" height="100%" width="100%"/></el-carousel-item>
            </el-carousel>
<!--            杠铃-->
            <el-row>
                <el-col span="3">
                    <p style="font-size: 28px;line-height: 65px;margin: 0">哑铃</p>
                </el-col>
            </el-row>

            <el-row gutter="20">
                <el-col v-for="r in Barbell" span="6">
                    <el-card style="margin: 10px 0">
                        <img :src="r.imgUrl" width="100%" height="144">
                        <p style="height: 40px">{{r.title}}</p>
                        <el-row gutter="20">
                            <el-col span="10">{{r.price}}</el-col>
                        </el-row>
                    </el-card>
                </el-col>
            </el-row>
            <div style="text-align: center;margin-bottom: 20px">
                <el-button>点击查看更多</el-button>
            </div>
<!--            跑步机-->
            <el-row>
                <el-col span="3">
                    <p style="font-size: 28px;line-height: 65px;margin: 0">跑步机</p>
                </el-col>
                <el-col span="21">
                </el-col>
            </el-row>

            <el-row gutter="20">
                <el-col v-for="a in Treadmill" span="6">
                    <el-card style="margin: 10px 0">
                        <img :src="a.imgUrl" width="100%" height="144">
                        <p style="height: 40px">{{a.title}}</p>
                        <el-row gutter="20">
                            <el-col span="10">{{a.price}}</el-col>
                        </el-row>
                    </el-card>
                </el-col>
            </el-row>
            <div style="text-align: center;margin-bottom: 20px">
                <el-button>点击查看更多跑步机</el-button>
            </div>

            <el-row>
                <el-col span="3">
                    <p style="font-size: 28px;line-height: 65px;margin: 0">运动手表</p>
                </el-col>
                <el-col span="21">
                </el-col>
            </el-row>
            <el-row gutter="20">
                <el-col v-for="o in outside" span="6">
                    <el-card style="margin: 10px 0">
                        <img :src="o.imgUrl" width="100%" height="144">
                        <p style="height: 40px">{{o.title}}</p>
                        <el-row gutter="20">
                            <el-col span="10">{{o.price}}</el-col>
                        </el-row>
                    </el-card>
                </el-col>
            </el-row>
            </el-card>
            </el-col>
            </el-row>
            <div style="text-align: center;margin-bottom: 20px">
                <el-button>点击查看运动手表</el-button>
            </div>
            <!--资讯列表结束-->
            <!--资讯结束-->
        </el-main>
        <el-footer style="height: 280px;background-color: #2f3234;padding:50px 0">
            <div class="center" style="text-align: center;color: #666">
                <el-row>
                    <el-col span="8">
                        <img src="../imgs/logo/logo2.png" />
                        <p>运动灵感就看sheep</p>
                        <p>sheep网络社区平台</p>
                        <p>全国百城上千个职位等你来</p>
                    </el-col>
                    <el-col span="8">
                        <el-row id="footer_center">
                            <el-col span="8">
                                <h3>关于我们</h3>
                                <p>关于我们</p>
                                <p>烘焙学院</p>
                                <p>烘焙食谱</p>
                                <p>分类信息</p>
                                <p>求职招聘</p>
                                <p>社区交流</p>
                            </el-col>
                            <el-col span="8">
                                <h3>支持与服务</h3>
                                <p>联系我们</p>
                                <p>广告投放</p>
                                <p>用户协议</p>
                                <p>友情链接</p>
                                <p>在线反馈</p>
                                <p>我发投稿</p>
                            </el-col>
                            <el-col span="8">
                                <h3>底部导航</h3>
                                <p>Archiver</p>
                                <p>手机版</p>
                                <p>小黑屋</p>
                            </el-col>
                        </el-row>

                    </el-col>
                    <el-col span="8">
                        <div style="font-size: 58px;margin-top: 30px">
                            <span style="color: orange">Sheep</span>
                        </div>
                        <p>sheep网络社区平台</p>
                    </el-col>
                </el-row>
            </div>
        </el-footer>
    </el-container>
</div>
</body>
<!-- import Vue before Element -->
<script src="https://cdn.staticfile.org/vue/2.6.14/vue.min.js"></script>
<!-- import JavaScript -->
<script src="https://cdn.staticfile.org/element-ui/2.15.9/index.min.js"></script>
<script>
    let v = new Vue({
        el: '#app',
        data: function () {
            return {
                Barbell: [
                    {
                        "id": 27,
                        "title": "杠铃",
                        "imgUrl": "../imgs/杠铃/杠铃.jpg",
                        "price": "¥2000",
                    },
                    {
                        "id": 27,
                        "title": "杠铃",
                        "imgUrl": "../imgs/杠铃/杠铃2.jpg",
                        "price": "¥2000",
                    },
                    {
                        "id": 27,
                        "title": "杠铃",
                        "imgUrl": "../imgs/杠铃/杠铃3.jpg",
                        "price": "¥2000",
                    },
                    {
                        "id": 27,
                        "title": "杠铃",
                        "imgUrl": "../imgs/杠铃/杠铃4.jpg",
                        "price": "¥2000",
                    },
                ],
                //跑步机
                Treadmill: [
                    {
                        "id": 27,
                        "title": "跑步机",
                        "imgUrl": "../imgs/跑步机/跑步机.jpg",
                        "price": "¥2000",
                    },
                    {
                        "id": 27,
                        "title": "跑步机",
                        "imgUrl": "../imgs/跑步机/跑步机2.jpg",
                        "price": "¥2000",
                    },
                    {
                        "id": 27,
                        "title": "跑步机",
                        "imgUrl": "../imgs/跑步机/跑步机3.jpg",
                        "price": "¥2000",
                    },
                    {
                        "id": 27,
                        "title": "跑步机",
                        "imgUrl": "../imgs/跑步机/跑步机4.jpg",
                        "price": "¥2000",
                    },
                ],
                //跑步机
                outside: [
                    {
                        "id": 27,
                        "title": "运动手表",
                        "imgUrl": "../imgs/运动手表/运动手表.jpg",
                        "price": "¥2000",
                    },
                    {
                        "id": 27,
                        "title": "运动手表",
                        "imgUrl": "../imgs/运动手表/运动手表2.jpg",
                        "price": "¥2000",
                    },
                    {
                        "id": 27,
                        "title": "运动手表",
                        "imgUrl": "../imgs/运动手表/运动手表3.jpg",
                        "price": "¥2000",
                    },
                    {
                        "id": 27,
                        "title": "运动手表",
                        "imgUrl": "../imgs/运动手表/运动手表4.jpg",
                        "price": "¥2000",
                    },
                ]
            }
        },
        methods: {}
    })
</script>
</html>